package core;

/**
 * 
 * @author Meng Yuan represent single route within one itinerary, like
 *         "(61D) MURRAY DOWNTOWN VIA OAKLAND Inbound"
 */
public class Route {
	private String routeName;
	private String getOn;
	private String onTime;
	private String getOff;
	private String offTime;

	public String getRouteName() {
		return routeName;
	}

	public void setRouteName(String routeName) {
		this.routeName = routeName;
	}

	public String getGetOn() {
		return getOn;
	}

	public void setGetOn(String getOn) {
		this.getOn = getOn;
	}

	public String getOnTime() {
		return onTime;
	}

	public void setOnTime(String onTime) {
		this.onTime = onTime;
	}

	public String getGetOff() {
		return getOff;
	}

	public void setGetOff(String getOff) {
		this.getOff = getOff;
	}

	public String getOffTime() {
		return offTime;
	}

	public void setOffTime(String offTime) {
		this.offTime = offTime;
	}

	public void print() {
		System.out.println(this.routeName);
		System.out.println(this.getOn + " at " + this.onTime);
		System.out.println(this.getOff + " at " + this.offTime);
	}

}
